package com.sso.risk;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.ComponentScan;

/**
 * 风控系统启动类
 * 
 * @author SSO System
 * @since 2024-01-01
 */
@SpringBootApplication
@ComponentScan(basePackages = {"com.sso.risk", "com.sso.common"})
@EntityScan(basePackages = {"com.sso.common.entity", "com.sso.risk.entity"})
public class RiskControlSystemApplication {

    public static void main(String[] args) {
        SpringApplication.run(RiskControlSystemApplication.class, args);
        System.out.println("\n" +
                "=======================================================\n" +
                "    风险控制系统启动成功！\n" +
                "    访问地址: http://www.oauth2server.com:8081\n" +
                "    系统功能: 风险评估、异常监控、风险报告\n" +
                "=======================================================\n");
    }
} 